<template>
  <div class="category">
    <slot>默认内容</slot>
  </div>
</template>

<script>
  export default {
    name:'Category'
  }
</script>

<style scoped>
  .category {
    background-color: skyblue;
    border-radius: 10px;
    width: 200px;
    height: 300px;
    box-shadow: 0 0 10px;
  }
</style>